#ifndef SCENEGRAPH_HPP
#define SCENEGRAPH_HPP

#include <vector>

#include <Inventor/Qt/viewers/SoQtExaminerViewer.h>
#include <Inventor/nodes/SoSeparator.h>

#include "point.hpp"

#ifndef GLOBALS_HERE 
  #define ext() extern 
#else
  #define ext()  
#endif

using namespace std;


namespace scenegraph
{

  ext() SoSeparator *root;
  ext() SoQtExaminerViewer *viewer;
};

namespace model
{
  ext() triar tris;
 
	ext() double xmin,xmax,ymin,ymax,zmin,zmax; 
  
  ext() vector<point> path;
  ext() double tooldiam;
  
}

#undef ext

#endif
